package cn.memset.code.stream;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Utils {
    public static List<Employee> makeEmployees() {
        Employee e1 = new Employee("张三", 1, "DEV", 17200);
        Employee e2 = new Employee("李四", 1, "OPS", 12000);
        Employee e3 = new Employee("韩梅梅", 0, "HR", 9000);
        Employee e4 = new Employee("李雷", 1, "DEV", 20000);
        Employee e5 = new Employee("杜芳芳", 0, "OPS", 16500);

        return new ArrayList<>(Arrays.asList(e1, e2, e3, e4, e5));
    }
}
